export default {
    name: "i-data",
    data() {
        return {
            loading: false,
            data: {},
            ruleValidate: {
                code: [{required: true, message: "快递代码必须填写"}, {max: 5, message: "快递代码只能是5位"}],
                name: [{required: true, message: "快递名称必须填写"}],
                customs_code: [{required: true, message: "海关代码必须填写"}],
                customs_name: [{required: true, message: "海关名称必须填写"}],
                phone: [{required: true, message: "联系人电话必须填写"}],
                insured: [{required: true, type: 'number', message: "保费必须填写"}],
                contacts: [{required: true, message: "联系人必须填写"}],
                remark: [{max: 1000, message: "快递备注最多可以输入1000个字符"}],
            }
        }
    }
}
